Avoid logic duplication
authorDavid Davidović <geosoft.corp@gmail.com>
Wed, 24 Dec 2014 20:37:01 +0000 (21:37 +0100)
committerDavid Davidović <geosoft.corp@gmail.com>
Wed, 24 Dec 2014 20:37:01 +0000 (21:37 +0100)
commit44c760d148b712a805261c2480944c9e092ffcf9
treec4517700a5feaf8746dd26cc01bfc5c111c958cd
parentec87ed41d375a8197c87ab0f3048616232d9906d
Avoid logic duplication

As suggested by @alexcrichton, reverted back to the old way of handling
both Job::new and Job::noop that avoids ugly constructs and code
duplication
src/cargo/ops/cargo_rustc/mod.rs